← Back
Editing: ndb_binlog_discover_multi.result
drop table if exists t1,dummy; drop table if exists t1,dummy; CREATE TABLE dummy (dummyk INT PRIMARY KEY) ENGINE = NDB; DROP TABLE dummy; reset master; reset master; create table t1 (a int unsigned auto_increment not null primary key) engine=ndbcluster; alter table t1 algorithm=inplace, add column b varchar(16); Warnings: Warning 1478 Converted FIXED field 'b' to DYNAMIC to enable on-line ADD COLUMN show tables; Tables_in_test t1 show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(10) unsigned NOT NULL AUTO_INCREMENT, `b` varchar(16) DEFAULT NULL, PRIMARY KEY (`a`) ) ENGINE=ndbcluster DEFAULT CHARSET=latin1 insert into t1 (b) values('String to find'); CREATE TABLE dummy (dummyk INT PRIMARY KEY) ENGINE = NDB; DROP TABLE dummy; select * from t1; a b 1 String to find FLUSH BINARY LOGS; ### @2='String to find' drop table t1;
Save File
Cancel